Previous Book Contents Book Index Next

Inside Macintosh: QuickTime /
Chapter 2 - Movie Toolbox / Movie Toolbox Reference
Functions for Getting and Playing Movies / Error Functions


GetMoviesError

The GetMoviesError function returns the contents of the current error value and resets the current error value to 0.

pascal OSErr GetMoviesError (void);
DESCRIPTION
The current error value contains the result code from the previous Movie Toolbox function. Most Movie Toolbox functions do not return an error as a function result--you must use the GetMoviesError function to obtain the result code. Even if a function explicitly returns an error as a function result, that result is also available using the GetMoviesError function.

ERROR CODES
Any Movie Toolbox result code (see "Summary of the Movie Toolbox" at the end of this chapter)


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996